package cn.exrick.xboot.common.qywxCode.Security.service;

import cn.exrick.xboot.modules.base.entity.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @author    : LiYuanzhuo
 * description: 自己重写loadUserByUsername
 * create time: 2019/8/23 10:38
 */

public interface MyUserDetailsService {
    UserDetails loadUserByUsername(User user) throws UsernameNotFoundException;
}
